// -----------------------------------------------
// Author:     code34 nicolas_boiteux@yahoo.fr
// Edited by:  Neumatic
// Warcontext: Create a hint marker local
// -----------------------------------------------
if (!local player) exitWith {};

private ["_turn","_marker","_size"];

waitUntil {format ["%1", wcselectedzone] != "[0,0,0]"};

_marker = _this select 0;

_size = 2;
_marker setMarkerSizeLocal [_size,_size];

_turn = 0;

while {true} do {
	_turn = _turn + 5;
	_marker setMarkerDirLocal _turn;
	_marker setMarkerPosLocal wcselectedzone;
	if (_turn > 355) then {_turn = 0};
	sleep 0.05;
};